pub fn new_birthday_probability(n: u32) -> f64 {
    let ans = (1..n).fold(1.0, |acc, i| acc * (365 - i) as f64 / 365.0);
    1.0 - ans
}
